package cn.tedu.egmybatis1.mapper;

import cn.tedu.egmybatis1.poji.entity.Product;
import cn.tedu.egmybatis1.poji.entity.vo.ProductVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MybatisMapper {

    int insetProduct( Product product);

    ProductVO selectOneProduct(Long pid);

    List<ProductVO> selectALLProduct();

    int deleteById(Long pid);
}
